package com.se.domain.mysql;

import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@NoArgsConstructor
public class RecordDO {
    Long recordId;
    Long applyId;
    Long qId;
    String ans;

    Long userId;

    Boolean active;
    Date ctime;
    Date utime;

    public RecordDO(Long applyId, Long qId, String ans, Long userId) {
        this.applyId = applyId;
        this.qId = qId;
        this.ans = ans;
        this.userId = userId;
    }
}
